Make a copy of the ROM. Work with this copy. In case you mess up you can go back to the original.
Step 2: Finding the graphics
Load up the game in FCEUXDSP and go to the screen you want to edit.
When you are there choose the Debug... menu option and hit the Step Into
button in the window that opens. That will tell the emulator to pause
so you can keep working without it changing.
Next choose the PPU Viewer... menu option. On one side will be the
sprite graphics, and on the other the background graphics. The text is
made of background graphics tiles.
If you put your mouse over one of the letter graphics the tile number
will update. Use those tile numbers to make a chart of which number
corresponds to which tile number. For Exerion 2, that chart will start
like:
A = 0A
B = 0B
C = 0C
D = 0D
E = 0E
F = 0F
G = 10
H = 11
I = 12
etc
Step 3: Finding the text
Use that chart to write out what text you are looking for. For
Exerion 2 we are going to edit the "PLAYERS" text for the 2 players
option. The hex characters we will be looking for are:
TEXT P L A Y E R S
HEX 19 15 0A 22 0E 1B 1C
Now that you know what to look for, open up the ROM in your hex editor
application. Do a hex search for the string you just figured out.
Hopefully it will appear just once in the ROM. In Exerion 2 the 2
PLAYERS text is around hex address 2F40.
Step 4: Replacing the text
Use your chart again to make a new string, the same length as the
previous text. This is very important. The size of the ROM must stay
exactly the same size so you cannot add extra characters. If your new
string is shorter than the old one then you must add space characters to
make it the same length.
For Exerion 2 I want to add a message longer than just the PLAYERS
text. Looking before the P in players there is a space, a 2, and lots
more spaces. I can safely replace some of those too, as long as I don't
add or subtract from the ROM size.
OLD TEXT 2 P L A Y E R S
OLD HEX 30 02 30 19 15 0A 22 0E 1B 1C
NEW TEXT M R M A R K S U X
NEW HEX 16 1B 16 0A 1B 14 30 1C 1E 21
Just select the old hex and delete it, then paste in the new hex.
Save your ROM and load it up in the emulator to make sure it worked. If
the game doesn't load in the emulator then you likely changed the size
of the ROM.
